-
-
Notifications
You must be signed in to change notification settings - Fork 406
#10 Create binary_to_Decimal_Conversion Method in Maths Function # #125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
maths/prime_check.ts
Outdated
@@ -0,0 +1,27 @@ | |||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated change. Please get rid of this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check my code and merge it.
maths/binary_to_Decimal_conversion
Outdated
|
||
const binary: string = '1011'; | ||
const decimal: number = binaryToDecimal(binary); | ||
console.log(`The decimal representation of ${binary} is ${decimal}`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Side effect. Use a proper Jest test instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check my code and merge it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Side effect. Use a proper Jest test instead.
@appgurueu please check my code and merge it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Still no Jest test.
- Still contains the unrelated prime check addition.
No description provided.